﻿
using System;
using System.Data;
using System.Configuration;


namespace Sueetie.Core
{
    public class TaskScheduler
    {
        #region Fields

        SampleTask task = null;

        #endregion

        #region Public Constructors

        public TaskScheduler()
        {
            Initialize();
        }

        #endregion

        #region Public Methods

        public void StartTask()
        {
            this.task.Start();
        }

        public void StopTask()
        {
            this.task.Stop();
        }

        #endregion

        #region Public Constructors

        private void Initialize()
        {
            this.task = new SampleTask(5000);
            this.task.FilePath = @"C:\temp\file.txt";
        }

        #endregion
    }
}
